﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace hello
{

    class Rectangle
    {
        double length;
        double width;

        public double GetArea()
        {
            return length * width;
        }
        public void Acceptdetaits()
        {
            length = 3.5;
            width = 4.5;
        }

        public int  init()
        {
            Console.WriteLine("Size of int :{0}",sizeof(uint));
            dynamic d = 10;
            return d;
        }
        

    }

    class Domo
    {
       
        public void Swap(int a,int b)
        {
            int temp = 0;
            temp = a;
            a = b;
            b = temp;
            Console.WriteLine(a);
            Console.WriteLine(b);
        }
        public void Max()
        {
            for(int i = 1; i <= 9; i++)
            {
                for (int j = 1; j <= i; j++)
                {
                    Console.Write("{0}*{1}={2}\t",j,i,j*i);
                }
                Console.WriteLine("\n");
            }
        }
    }

    internal class Program
    {
        static void Main(string[] args)
        {

            Domo d = new Domo();
           /* int x = Convert.ToInt32(Console.ReadLine());
            int y = Convert.ToInt32(Console.ReadLine());
            Console.WriteLine(x); 
            Console.WriteLine(y);
            d.Swap(x,y);*/

            d.Max();
            
            /*String str = "HelloWorld";
            String str2 = @"Windows\123/123";
            Console.WriteLine(str); 
            Console.WriteLine(str2);*/

            Console.ReadKey();



           /* Console.WriteLine("我的第一个程序");
            Console.ReadKey();
            Rectangle r = new Rectangle();
            r.Acceptdetaits();
            double result = r.GetArea();
            r.init();
            Console.WriteLine(result);
            Console.ReadKey();
            Console.WriteLine("------------------------");
            dynamic d =  r.init();

            Console.WriteLine(d);
            Console.ReadKey();*/

        }
    }
}
